#include "../../HeadFiles/PagesH/WelcomePage.h"

void WelcomeAdminPage()
{
    system("cls");
    printf("Welcome back, admin!\n");
    puts("type 1 to query all sales record");
    puts("type 2 to query all commodities on sale");
    puts("type 3 to query all clients");
    puts("type 4 to query general page");
    puts("type 0 to exit");
}

extern char yourName[STR_MAX_LEN];
void WelcomeCostumerPage()
{
    system("cls");
    printf("Welcome Back, %s!\n", yourName);
    puts("Type 1 to view all commodities on sale");
    puts("Type 2 to view your purchase history");
    puts("Type 3 to check your cart");
    puts("Type 0 to exit");
    puts(SPLIT_STR);
}